<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>N3RD CH4T: /Users/plamontagna/Documents/spa-cs340project/im_client_v2/addbuddy.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">N3RD CH4T
   &#160;<span id="projectnumber">Final Version</span>
   </div>
   <div id="projectbrief">CS340 Project</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">/Users/plamontagna/Documents/spa-cs340project/im_client_v2/addbuddy.h</div>  </div>
</div>
<div class="contents">
<a href="addbuddy_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// ----------------------------------------------------------------------------</span>
<a name="l00018"></a>00018 <span class="comment"></span><span class="comment">// ----------------------------------------------------------------------------</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef ADDBUDDY_H</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define ADDBUDDY_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;QDialog&gt;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;QMessageBox&gt;</span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="keyword">namespace </span>Ui {
<a name="l00027"></a>00027     <span class="keyword">class </span><a class="code" href="classadd_buddy.html" title="The addBuddy helper methods.">addBuddy</a>;
<a name="l00028"></a>00028 }
<a name="l00029"></a>00029 
<a name="l00037"></a><a class="code" href="classadd_buddy.html">00037</a> <span class="keyword">class </span><a class="code" href="classadd_buddy.html" title="The addBuddy helper methods.">addBuddy</a> : <span class="keyword">public</span> QDialog
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039     Q_OBJECT
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 signals:
<a name="l00042"></a>00042 
<a name="l00047"></a>00047         <span class="keywordtype">void</span> <a class="code" href="classadd_buddy.html#a6c64dfa85bf467a51fb9f85f8c09f393" title="addFriend signal that adds the user to the friends list">addFriend</a>(QString);
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="keyword">private</span> slots:
<a name="l00050"></a>00050 
<a name="l00058"></a>00058         <span class="keywordtype">void</span> <a class="code" href="classadd_buddy.html#a75adb2ddb1d4cd0b31e1da7b2e087074" title="Slot that will handle the friend request confirmation or deny.">handleIsValidFriendRequestConfirmation</a>(QString personSentTo, <span class="keywordtype">bool</span> isConfirmed);
<a name="l00059"></a>00059 
<a name="l00064"></a>00064         <span class="keywordtype">void</span> <a class="code" href="classadd_buddy.html#a465c14b35c5cd2fa795de7aaff142300" title="Slot that determines if the user has clicked the add button.">on_addButton_clicked</a>();
<a name="l00065"></a>00065 
<a name="l00070"></a>00070         <span class="keywordtype">void</span> <a class="code" href="classadd_buddy.html#a138c4da08fa856d7441774f32b396f3b" title="Slot that determines if the user has clicked the cancel button.">on_cancelButton_clicked</a>();
<a name="l00071"></a>00071 
<a name="l00072"></a>00072     <span class="keyword">public</span>:
<a name="l00074"></a>00074         <a class="code" href="classadd_buddy.html#a525550539bf281cb0e6090c91c5c4225" title="addBuddy Constructor">addBuddy</a>(QWidget *parent, QString personSendingRequest);
<a name="l00076"></a>00076         <a class="code" href="classadd_buddy.html#a1c43a5fa6e74b744e603c3743f49df09" title="addBuddy Deconstructor">~addBuddy</a>();
<a name="l00077"></a>00077 <span class="keyword">private</span>:
<a name="l00083"></a>00083         <span class="keywordtype">void</span> <a class="code" href="classadd_buddy.html#a9e626667376529b5be5fc1fa72eb20f4" title="Method that displays the message sent.">displayMessage</a>(QString msgToDisplay);
<a name="l00084"></a>00084         Ui::addBuddy *ui;
<a name="l00085"></a>00085 
<a name="l00086"></a>00086         QString personSendingRequest;
<a name="l00087"></a>00087 };
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 <span class="preprocessor">#endif // ADDBUDDY_H</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 23:53:09 for N3RD CH4T by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
